/*--------------------------------+
| ArcEngine-Log.cpp			      |
|								  |
| BrokenGlass				      |
|								  |
| Last Change:					  |
+--------------------------------*/

// W.I.P
#include <stdio.h>

// Using C for simplicity
void log_add(const char *text)
{
	FILE *logFile;
	fopen_s(&logFile,"log.txt","a+");
	fprintf(logFile,"%s",text);
	fclose(logFile);
}

inline void log_clear()
{
	remove("log.txt");
	printf(">> Log Cleared!\n");
}